Pixeldev\SquareWooSync\Woo\WooImport A

Total Complexity 74
Dependencies 5
Dependents 1
Total lines 529
Lines of code 397
Logical lines of code 206
Comment lines 50
Methods 11
Properties 0

Methods 11

Method Rating Maintainability Complexity Lines of code
format_product_for_square()
C
27
21 156
update_wc_product_with_square_ids()
A
49 12 31
update_square_inventory_counts()
A
49 8 29
get_square_option_value_id()
A
48 7 33
get_square_option_id()
S
47 6 38
process_products()
S
51 6 26
import_products()
S
47 5 35
send_inventory_updates_to_square()
S
56 3 18
prepare_inventory_change()
S
59 3 14
fetch_square_item_options()
S
69 2 7
wc_get_product_id_by_temp_id()
S
64 1 10